package cn.zj.admin.bean;

import java.util.List;

/**
 * 获取首页初始化内容
 *
 * @author xi.yang
 * @create 2020-10-23 15:27
 **/
public class AdminInfo {
    private HomeInfo homeInfo = new HomeInfo();
    private LogoInfo logoInfo = new LogoInfo();
    private List<MenuInfo> menuInfo;
    class HomeInfo {
        private String title = "首页";
        private String href = "/view/home/home";

        public String getTitle() {
            return title;
        }

        public String getHref() {
            return href;
        }
    }

    class LogoInfo {
        private String title = "ZJ-Admin";
        private String image = "/images/logo.png";
        private String href = "/";

        public String getTitle() {
            return title;
        }

        public String getImage() {
            return image;
        }

        public String getHref() {
            return href;
        }
    }

    public void setMenuInfo(List<MenuInfo> menuInfo) {
        this.menuInfo = menuInfo;
    }

    public HomeInfo getHomeInfo() {
        return homeInfo;
    }

    public LogoInfo getLogoInfo() {
        return logoInfo;
    }

    public List<MenuInfo> getMenuInfo() {
        return menuInfo;
    }
}
